package com.dog.basics.bean.vo.api.mtkj;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 商品评价表
 * </p>
 *
 * @author wph
 * @since 2020-11-09
 */
@Data
public class ApiGoodsEvaluateVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", dataType = "Long")
    private Long id;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID", dataType = "Long")
    private Long orderId;

    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号", dataType = "String")
    private String orderNo;

    /**
     * 订单项ID
     */
    @ApiModelProperty(value = "订单项ID", dataType = "Long")
    private Long orderGoodsId;

    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID", dataType = "Long")
    private Long goodsId;
    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品名称", dataType = "String")
    private String goodsName;

    /**
     * 商品主图
     */
    @ApiModelProperty(value = "商品主图", dataType = "String")
    private String picture;

    /**
     * 评价内容
     */
    @ApiModelProperty(value = "评价内容", dataType = "String")
    private String content;

    /**
     * 评价图片
     */
    @ApiModelProperty(value = "评价图片", dataType = "List<String>")
    private List<String> image;

    /**
     * 评价人ID
     */
    @ApiModelProperty(value = "评价人ID", dataType = "Long")
    private Long userId;
    /**
     * 评价人名称
     */
    @ApiModelProperty(value = "评价人名称", dataType = "String")
    private String userName;
    /**
     * 评价人头像
     */
    @ApiModelProperty(value = "评价人头像", dataType = "String")
    private String pic;
    /**
     * 0表示不是 1表示是匿名评价
     */
    @ApiModelProperty(value = " 0表示不是 1表示是匿名评价", dataType = "Integer")
    private Integer isAnonymous;

    /**
     * 1-5分
     */
    @ApiModelProperty(value = "1-5分", dataType = "Integer")
    private Integer stars;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", dataType = "Long")
    private Long createTime;




}
